package engine.systems.spatial.proximity
{
	import ash.core.Entity;
	
	import engine.systems.spatial.spatial.Spatial;
	
	import org.osflash.signals.Signal;

	public class ProximityData
	{
		public var entity:Entity;
		public var spatial:Spatial;
		internal var inside:Boolean = false;
		
		public function ProximityData(entity:Entity)
		{
			this.entity 	= entity;
			this.spatial 	= entity.get(Spatial);
		}
		
		public function destroy():void
		{
			this.entity 	= null;
			this.spatial 	= null;
		}
	}
}